(()=>{var t={737:()=>{let t,e,n;const o=document.createElement("link"),a=o.relList&&o.relList.supports&&o.relList.supports("prefetch"),s=navigator.connection&&navigator.connection.saveData,i="instantAllowQueryString"in document.body.dataset,r="instantAllowExternalLinks"in document.body.dataset,d="instantWhitelist"in document.body.dataset;let c=65,u=!1,h=!1;if("instantIntensity"in document.body.dataset)if("mousedown"==document.body.dataset.instantIntensity.substr(0,"mousedown".length))u=!0,"mousedown-only"==document.body.dataset.instantIntensity&&(h=!0);else{const t=parseInt(document.body.dataset.instantIntensity);isNaN(t)||(c=t)}if(a&&!s){o.rel="prefetch",document.head.appendChild(o);const a={capture:!0,passive:!0};h||document.addEventListener("touchstart",(function(e){n=performance.now();const o=e.target.closest("a");if(!m(o))return;o.addEventListener("touchcancel",p,{passive:!0}),o.addEventListener("touchend",p,{passive:!0}),t=o.href,l(o.href)}),a),u?document.addEventListener("mousedown",(function(e){const n=e.target.closest("a");if(!m(n))return;n.addEventListener("mouseout",f,{passive:!0}),t=n.href,l(n.href)}),a):document.addEventListener("mouseover",(function(o){if(performance.now()-n<1100)return;const a=o.target.closest("a");if(!m(a))return;a.addEventListener("mouseout",f,{passive:!0}),t=a.href,e=setTimeout((()=>{l(a.href),e=void 0}),c)}),a)}function p(){t=void 0,v()}function f(n){n.relatedTarget&&n.target.closest("a")==n.relatedTarget.closest("a")||(e&&(clearTimeout(e),e=void 0),t=void 0,v())}function m(e){if(e&&e.href&&t!=e.href&&(!d||"instant"in e.dataset)&&(r||e.origin==location.origin||"instant"in e.dataset)&&["http:","https:"].includes(e.protocol)&&("http:"!=e.protocol||"https:"!=location.protocol)&&(i||!e.search||"instant"in e.dataset)&&!(e.hash&&e.pathname+e.search==location.pathname+location.search||"noInstant"in e.dataset))return!0}function l(t){o.href=t}function v(){o.removeAttribute("href")}}},e={};function n(o){if(e[o])return e[o].exports;var a=e[o]={exports:{}};return t[o](a,a.exports,n),a.exports}n.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return n.d(e,{a:e}),e},n.d=(t,e)=>{for(var o in e)n.o(e,o)&&!n.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:e[o]})},n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),function(t){if(window.Shopify&&window.Shopify.theme&&navigator&&navigator.sendBeacon&&window.Shopify.designMode){if(sessionStorage.getItem("oots_beacon"))return;navigator.sendBeacon("https://app.outofthesandbox.com/beacon",new URLSearchParams({shop_domain:window.Shopify.shop,shop_id:window.Store.id,theme_name:"empire",theme_store_id:window.Shopify.theme.theme_store_id||0,theme_id:window.Shopify.theme.id,theme_role:window.Shopify.theme.role})),sessionStorage.setItem("oots_beacon","")}}(),(()=>{"use strict";n(737)})()})(); //# sourceMappingURL=instantPage.min.js.map?1666199738450